﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Domain.审计字段;

namespace Domainwj.结算管理
{
    /// <summary>
    /// 付款管理
    /// </summary>
    public class PaymentManagemen : ApprovalAuditableEntityBase
    {
        /// <summary>
        /// 付款Id
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }=string.Empty;
        /// <summary>
        /// 用途描述
        /// </summary>
        public string UsageDescription { get; set; } = string.Empty;
        /// <summary>
        /// 付款金额
        /// </summary>
        public decimal? PaymentAmount { get; set; } 
        /// <summary>
        /// 付款方式
        /// </summary>
        public string PaymentMethod { get; set; } = string.Empty;
        /// <summary>
        /// 支付对象
        /// </summary>
        public string Payee { get; set; } = string.Empty;
        /// <summary>
        /// 开户行
        /// </summary>
        public string IssuingBank { get; set; } = string.Empty;
        /// <summary>
        /// 银行账号
        /// </summary>
        public string BankofDeposit { get; set; } = string.Empty;
        /// <summary>
        /// 申请人
        /// </summary>
        public string Requester { get; set; } = string.Empty;
        /// <summary>   
        /// 付款日期
        /// </summary>
        public DateTime? PaymentDate { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Notes { get; set; } = string.Empty;
        /// <summary>
        /// 票据附件
        /// </summary>
        public string InvoiceAttachment { get; set; } = string.Empty;
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedTime { get; set; }
        /// <summary>
        /// 审批编程
        /// </summary>
        public string ProcessDetailCode { get; set; } = string.Empty;
    
    }
}
